﻿using UnityEngine;
using System.Collections;

namespace Lost{
	public static class StaticHelper {
		public static bool RemoveComponent<T>(GameObject g){
			Object o = g.GetComponent<T> () as Object;
			if (o != null) {
				GameObject.Destroy (o);
				return true;
			}
			return false;
		}
	}
}
